package com.liu.voluntary.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("activity")
public class Activity {

    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    private String activityName;
    private String activityAddress;
    private Date startTime;
    private Integer sustain;  //活动时长
    private Integer number;    //活动人数
    private Integer enlistsState; // 报名状态  0:未开始 1:进行中 2:已结束
    private Integer activityState;  //活动状态  0:未开始 1:进行中 2:已结束
    private Date enlistsStart;
    private Date enlistsEnd;
    private Double  lng;//经度
    private Double  lat;//纬度
    private String introduce;
}
